package base

import "github.com/gogf/gf/v2/os/gtime"

const (
	EnvTypeProduction  = "production"  // 生产环境
	EnvTypeTesting     = "testing"     // 测试环境
	EnvTypeDevelopment = "development" // 开发环境
)

var (
	AppBuildTime = "20241015172000"
	CodePath     = ""
)

// type Model struct {
// 	ID        uint               `gorm:"primarykey" json:"id"`
// 	CreatedAt *gorm.Time         `json:"created_at"`
// 	UpdatedAt *gorm.Time         `json:"updated_at"`
// 	DeletedAt gormBase.DeletedAt `gorm:"index" json:"deleted_at"`
// }

type App struct {
	Version  string      `json:"version,omitempty"`
	BuiltAt  *gtime.Time `json:"built_at,omitempty"`
	Title    string      `json:"title,omitempty"`
	Hostname string      `json:"hostname,omitempty"`
}
